package com.itheima.dao;

import com.itheima.pojo.Book;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookMapper {
    //查询所有书籍
    @Select("select id,name,author,price from book")
    List<Book> findAllBooks();
}
